//
//  GoodsModel.h
//  FreshBee
//
//  Created by ymQiao on 16/10/16.
//  Copyright © 2016年 iOS013. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "MenuModel.h"

@interface GoodsModel : NSObject

/**
 菜单模型
 */
@property(nonatomic,strong) NSArray<MenuModel *> *categories;

/**
 商品名称
 */
@property(nonatomic,strong) NSString *name;

/**
 重量
 */
@property(nonatomic,strong) NSString *specifics;

/**
 价格
 */
@property(nonatomic,strong) NSString *price;

/**
 原价
 */
@property(nonatomic,strong) NSString *market_price;

+(instancetype)goodsModelWithDict:(NSDictionary *)dict;

+(void)modelWithSuccess:(void(^)(NSArray<GoodsModel *> *))successBlock error:(void(^)())errorBlock;

@end
